package com.yanqu.road.entity.log.langyabang;

import com.yanqu.road.entity.FieldTypeAnnotation;

import java.util.Date;

@FieldTypeAnnotation(tableName = "t_c_lang_ya_dai_zheng_log")
public class LogLangYaBangDaiZheng {
    @FieldTypeAnnotation(desc = "活动ID", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "用户ID", isIndex = true)
    private long userId;
    @FieldTypeAnnotation(desc = "对方ID")
    private long targetUserId;
    @FieldTypeAnnotation(desc = "对方区域")
    private String targetBuilding;
    @FieldTypeAnnotation(desc = "我方区域")
    private String myBuilding;
    @FieldTypeAnnotation(desc = "体力加成")
    private int powerAdd;
    @FieldTypeAnnotation(desc = "奖励")
    private String reward;
    @FieldTypeAnnotation(desc = "老金币")
    private long oldCoin;
    @FieldTypeAnnotation(desc = "获得金币")
    private long getCoin;
    @FieldTypeAnnotation(desc = "新金币")
    private long newCoin;
    @FieldTypeAnnotation(desc = "时间")
    private Date date;


    public LogLangYaBangDaiZheng(int activityId, long userId, long targetUserId, String targetBuilding, String myBuilding, int powerAdd, String reward, long oldCoin, long getCoin, long newCoin, Date date) {
        this.activityId = activityId;
        this.userId = userId;
        this.targetUserId = targetUserId;
        this.targetBuilding = targetBuilding;
        this.myBuilding = myBuilding;
        this.powerAdd = powerAdd;
        this.reward = reward;
        this.oldCoin = oldCoin;
        this.getCoin = getCoin;
        this.newCoin = newCoin;
        this.date = date;
    }

    public int getActivityId() {
        return activityId;
    }

    public void setActivityId(int activityId) {
        this.activityId = activityId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public long getTargetUserId() {
        return targetUserId;
    }

    public void setTargetUserId(long targetUserId) {
        this.targetUserId = targetUserId;
    }

    public String getTargetBuilding() {
        return targetBuilding;
    }

    public void setTargetBuilding(String targetBuilding) {
        this.targetBuilding = targetBuilding;
    }

    public String getMyBuilding() {
        return myBuilding;
    }

    public void setMyBuilding(String myBuilding) {
        this.myBuilding = myBuilding;
    }

    public int getPowerAdd() {
        return powerAdd;
    }

    public void setPowerAdd(int powerAdd) {
        this.powerAdd = powerAdd;
    }

    public String getReward() {
        return reward;
    }

    public void setReward(String reward) {
        this.reward = reward;
    }

    public long getOldCoin() {
        return oldCoin;
    }

    public void setOldCoin(long oldCoin) {
        this.oldCoin = oldCoin;
    }

    public long getGetCoin() {
        return getCoin;
    }

    public void setGetCoin(long getCoin) {
        this.getCoin = getCoin;
    }

    public long getNewCoin() {
        return newCoin;
    }

    public void setNewCoin(long newCoin) {
        this.newCoin = newCoin;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }
}
